﻿// Copyright (c) Inossem. All rights reserved.
// Licensed under the LGPL-3.0 license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DWF.Studio.ProcessExecutor.Core.Process
{
    /// <summary>
    /// process文件详情
    /// </summary>
    internal class ProcessDetail
    {
        public ProcessDetail()
        {
            dependency = new List<string>();
            file = new List<string>();
            libs = new List<string>();
            script = new List<string>();
            images = new List<string>();
            res = new List<string>();
        }

        public string id
        {
            get;
            set;
        }

        /// <summary>
        /// 工程名
        /// </summary>
        public string name
        {
            set;
            get;
        }

        /// <summary>
        /// 描述
        /// </summary>
        public string description
        {
            set;
            get;
        }

        /// <summary>
        /// 文档规范版本
        /// </summary>
        public string ver
        {
            set;
            get;
        }

        /// <summary>
        /// 工程修改版本号
        /// </summary>
        public string reversion
        {
            set;
            get;
        }

        /// <summary>
        /// 目标平台
        /// </summary>
        public string platform
        {
            set;
            get;
        }

        /// <summary>
        /// 启动项
        /// </summary>
        public string start
        {
            set;
            get;
        }

        /// <summary>
        /// 包含活动包
        /// </summary>
        public bool containPackages
        {
            set;
            get;
        }

        /// <summary>
        /// 允许并行
        /// </summary>
        public bool allowParallel
        {
            set;
            get;
        }

        /// <summary>
        /// 需要管理员权限
        /// </summary>
        public bool requireAdmin
        {
            set;
            get;
        }

        /// <summary>
        /// 依赖活动包
        /// </summary>
        public List<string> dependency
        {
            set;
            get;
        }

        /// <summary>
        /// xaml文件夹
        /// </summary>
        public List<string> file
        {
            set;
            get;
        }

        /// <summary>
        /// 库文件夹
        /// </summary>
        public List<string> libs
        {
            set;
            get;
        }

        /// <summary>
        /// 脚本文件夹
        /// </summary>
        public List<string> script
        {
            set;
            get;
        }

        /// <summary>
        /// 图像文件夹
        /// </summary>
        public List<string> images
        {
            set;
            get;
        }

        /// <summary>
        /// 资源文件夹
        /// </summary>
        public List<string> res
        {
            set;
            get;
        }
    }
}
